package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AmazonSeller", catalog="Id")
public class TpAmazonSeller extends BaseEntity<TpAmazonSeller> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="SellerId", nameJava="sellerId", typeDataBase="varchar")
	private String sellerId;
	@YsField(nameDataBase="SellerName", nameJava="sellerName", typeDataBase="varchar")
	private String sellerName;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="Vgsjc", nameJava="vgsjc", typeDataBase="varchar")
	private String vgsjc;
	@YsField(nameDataBase="RegionCode", nameJava="regionCode", typeDataBase="varchar")
	private String regionCode;
	@YsField(nameDataBase="RegionName", nameJava="regionName", typeDataBase="varchar")
	private String regionName;
	@YsField(nameDataBase="ServerAws", nameJava="serverAws", typeDataBase="varchar")
	private String serverAws;
	@YsField(nameDataBase="ServerInstanceId", nameJava="serverInstanceId", typeDataBase="varchar")
	private String serverInstanceId;
	@YsField(nameDataBase="ServerIp", nameJava="serverIp", typeDataBase="varchar")
	private String serverIp;
	@YsField(nameDataBase="ServerExpireDay", nameJava="serverExpireDay", typeDataBase="char")
	private String serverExpireDay;
	@YsField(nameDataBase="AccessToken", nameJava="accessToken", typeDataBase="varchar")
	private String accessToken;
	@YsField(nameDataBase="RefreshToken", nameJava="refreshToken", typeDataBase="varchar")
	private String refreshToken;
	@YsField(nameDataBase="AuthorizeState", nameJava="authorizeState", typeDataBase="varchar")
	private String authorizeState;
	@YsField(nameDataBase="AuthState", nameJava="authState", typeDataBase="tinyint")
	private Integer authState;
	@YsField(nameDataBase="AuthDay", nameJava="authDay", typeDataBase="char")
	private String authDay;
	@YsField(nameDataBase="AccessTokenGg", nameJava="accessTokenGg", typeDataBase="varchar")
	private String accessTokenGg;
	@YsField(nameDataBase="RefreshTokenGg", nameJava="refreshTokenGg", typeDataBase="varchar")
	private String refreshTokenGg;
	@YsField(nameDataBase="AuthorizeStateGg", nameJava="authorizeStateGg", typeDataBase="varchar")
	private String authorizeStateGg;
	@YsField(nameDataBase="AuthStateGg", nameJava="authStateGg", typeDataBase="tinyint")
	private Integer authStateGg;
	@YsField(nameDataBase="AuthDayGg", nameJava="authDayGg", typeDataBase="char")
	private String authDayGg;
	@YsField(nameDataBase="OperateUserId", nameJava="operateUserId", typeDataBase="varchar")
	private String operateUserId;
	@YsField(nameDataBase="OperateUserName", nameJava="operateUserName", typeDataBase="varchar")
	private String operateUserName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonSeller setId(Long id) {
		this.id = id;
		return this;
	}
	public String getSellerId() {
		return sellerId;
	}
	public TpAmazonSeller setSellerId(String sellerId) {
		this.sellerId = sellerId;
		return this;
	}
	public String getSellerName() {
		return sellerName;
	}
	public TpAmazonSeller setSellerName(String sellerName) {
		this.sellerName = sellerName;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TpAmazonSeller setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsjc() {
		return vgsjc;
	}
	public TpAmazonSeller setVgsjc(String vgsjc) {
		this.vgsjc = vgsjc;
		return this;
	}
	public String getRegionCode() {
		return regionCode;
	}
	public TpAmazonSeller setRegionCode(String regionCode) {
		this.regionCode = regionCode;
		return this;
	}
	public String getRegionName() {
		return regionName;
	}
	public TpAmazonSeller setRegionName(String regionName) {
		this.regionName = regionName;
		return this;
	}
	public String getServerAws() {
		return serverAws;
	}
	public TpAmazonSeller setServerAws(String serverAws) {
		this.serverAws = serverAws;
		return this;
	}
	public String getServerInstanceId() {
		return serverInstanceId;
	}
	public TpAmazonSeller setServerInstanceId(String serverInstanceId) {
		this.serverInstanceId = serverInstanceId;
		return this;
	}
	public String getServerIp() {
		return serverIp;
	}
	public TpAmazonSeller setServerIp(String serverIp) {
		this.serverIp = serverIp;
		return this;
	}
	public String getServerExpireDay() {
		return serverExpireDay;
	}
	public TpAmazonSeller setServerExpireDay(String serverExpireDay) {
		this.serverExpireDay = serverExpireDay;
		return this;
	}
	public String getAccessToken() {
		return accessToken;
	}
	public TpAmazonSeller setAccessToken(String accessToken) {
		this.accessToken = accessToken;
		return this;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
	public TpAmazonSeller setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
		return this;
	}
	public String getAuthorizeState() {
		return authorizeState;
	}
	public TpAmazonSeller setAuthorizeState(String authorizeState) {
		this.authorizeState = authorizeState;
		return this;
	}
	public Integer getAuthState() {
		return authState;
	}
	public TpAmazonSeller setAuthState(Integer authState) {
		this.authState = authState;
		return this;
	}
	public String getAuthDay() {
		return authDay;
	}
	public TpAmazonSeller setAuthDay(String authDay) {
		this.authDay = authDay;
		return this;
	}
	public String getAccessTokenGg() {
		return accessTokenGg;
	}
	public TpAmazonSeller setAccessTokenGg(String accessTokenGg) {
		this.accessTokenGg = accessTokenGg;
		return this;
	}
	public String getRefreshTokenGg() {
		return refreshTokenGg;
	}
	public TpAmazonSeller setRefreshTokenGg(String refreshTokenGg) {
		this.refreshTokenGg = refreshTokenGg;
		return this;
	}
	public String getAuthorizeStateGg() {
		return authorizeStateGg;
	}
	public TpAmazonSeller setAuthorizeStateGg(String authorizeStateGg) {
		this.authorizeStateGg = authorizeStateGg;
		return this;
	}
	public Integer getAuthStateGg() {
		return authStateGg;
	}
	public TpAmazonSeller setAuthStateGg(Integer authStateGg) {
		this.authStateGg = authStateGg;
		return this;
	}
	public String getAuthDayGg() {
		return authDayGg;
	}
	public TpAmazonSeller setAuthDayGg(String authDayGg) {
		this.authDayGg = authDayGg;
		return this;
	}
	public String getOperateUserId() {
		return operateUserId;
	}
	public TpAmazonSeller setOperateUserId(String operateUserId) {
		this.operateUserId = operateUserId;
		return this;
	}
	public String getOperateUserName() {
		return operateUserName;
	}
	public TpAmazonSeller setOperateUserName(String operateUserName) {
		this.operateUserName = operateUserName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonSeller setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonSeller setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonSeller setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonSeller tpAmazonSeller(
		String sellerId,
		String sellerName,
		String vgsbm,
		String vgsjc,
		String regionCode,
		String regionName,
		String serverAws,
		String serverInstanceId,
		String serverIp,
		String serverExpireDay,
		String accessToken,
		String refreshToken,
		String authorizeState,
		Integer authState,
		String authDay,
		String accessTokenGg,
		String refreshTokenGg,
		String authorizeStateGg,
		Integer authStateGg,
		String authDayGg,
		String operateUserId,
		String operateUserName,
		Integer status
			) {
		TpAmazonSeller entity = new TpAmazonSeller();
		entity.setSellerId(sellerId);
		entity.setSellerName(sellerName);
		entity.setVgsbm(vgsbm);
		entity.setVgsjc(vgsjc);
		entity.setRegionCode(regionCode);
		entity.setRegionName(regionName);
		entity.setServerAws(serverAws);
		entity.setServerInstanceId(serverInstanceId);
		entity.setServerIp(serverIp);
		entity.setServerExpireDay(serverExpireDay);
		entity.setAccessToken(accessToken);
		entity.setRefreshToken(refreshToken);
		entity.setAuthorizeState(authorizeState);
		entity.setAuthState(authState);
		entity.setAuthDay(authDay);
		entity.setAccessTokenGg(accessTokenGg);
		entity.setRefreshTokenGg(refreshTokenGg);
		entity.setAuthorizeStateGg(authorizeStateGg);
		entity.setAuthStateGg(authStateGg);
		entity.setAuthDayGg(authDayGg);
		entity.setOperateUserId(operateUserId);
		entity.setOperateUserName(operateUserName);
		entity.setStatus(status);
		return entity;
	}
}